package com.example.owner.bean.impl;

import com.example.owner.aop.NullCheck;
import io.micronaut.context.event.StartupEvent;
import io.micronaut.runtime.event.annotation.EventListener;
import jakarta.inject.Singleton;
import lombok.extern.slf4j.Slf4j;

@Slf4j
@Singleton
public class ApplicationExample {

    @EventListener
    public void testAop(StartupEvent event) {
        log.debug("testAop {}", event);
    }
}
